/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file    sram_is16bit_fsmc.h
  * @brief   This file contains all the function prototypes for
  *          the sram_is16bit_fsmc.c file
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2023 CIEI.
  * All rights reserved.
  *
  ******************************************************************************
  */
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _SRAM_IS16BIT_FSMC_H
#define _SRAM_IS16BIT_FSMC_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "main.h"
/* USER CODE END Includes */

/* USER CODE BEGIN Configuration defines */
#define SRAM_A0_PIN         
#define SRAM_A1_PIN
#define SRAM_A2_PIN
#define SRAM_A3_PIN
#define SRAM_A4_PIN
#define SRAM_A5_PIN
#define SRAM_A6_PIN
#define SRAM_A7_PIN
#define SRAM_A8_PIN
#define SRAM_A9_PIN
#define SRAM_A10_PIN
#define SRAM_A11_PIN
#define SRAM_A12_PIN
#define SRAM_A13_PIN
#define SRAM_A14_PIN
#define SRAM_A15_PIN
#define SRAM_A16_PIN
#define SRAM_A17_PIN
#define SRAM_A18_PIN

#define SRAM_CHIP_SELECT
#define ADDRESS_NUM
#define DATA_NUM


/* USER CODE END Configuration defines */

/* USER CODE BEGIN Variables */

/* USER CODE END Variables */

/* USER CODE BEGIN PriAHB1PERIPH_BASEvate defines */

/* USER CODE END Private defines */

/* USER CODE BEGIN Prototypes */
extern SRAM_HandleTypeDef hsram1;
void FsmcGpioConfig(void);
void DemoFsmcInit(void);
void DemoSramInit(void);

void test_mem_ex1(void);

/* USER CODE END Prototypes */

#ifdef __cplusplus
}
#endif
#endif /*__SRAM_IS16BIT_FSMC_H */
